<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Color</title>
</head>
<body>
	<f:view>
		<h:form>
			<h:selectOneListbox value="#{colorBean.color}"
				converter="selectItemObjectConverter">
				<f:selectItems value="#{colorBean.colores}" var="color"
					itemLabel="#{color.nombre}" />
			</h:selectOneListbox>
			<h:commandButton value="ok" action="#{colorBean.seleccionarColor}" />
		</h:form>
	</f:view>
</body>
</html>